package com.xin.di.uav.applet.request;


import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class DeliveryPointsEditParam {
    @NotBlank(message = "id不能为空")
    private String id;

    @NotBlank(message = "服务区域id不能为空")
    private String serviceAreasId;

    @NotBlank(message = "投放点名称不能为空")
    private String name;
    @NotNull(message = "纬度不能为空")
    private BigDecimal latitude;
    @NotNull(message = "经度不能为空")
    private BigDecimal longitude;
    @NotNull(message = "状态不能为空")
    private Integer status;
    @NotNull(message = "配送费不能为空")
    private BigDecimal expressFee;

}
